package com.hwbsite.hwbback.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hwbsite.hwbback.entity.WbGooJobRes;
import com.hwbsite.hwbback.entity.WbReplyDTO;
import com.hwbsite.hwbback.entity.WbResult;
import com.hwbsite.hwbback.entity.WeiboPublishDTO;
import com.hwbsite.hwbback.utils.DhRes;

public interface WeiboService {
    DhRes saveWB(WeiboPublishDTO dto) throws Exception;

    IPage<WbResult> getWb(Page page, WeiboPublishDTO dto);

    WbGooJobRes getWbGJ(String wbId);

    DhRes goodJob(String wbId);

    DhRes deleteWB(String id);

    DhRes saveWBFile(WeiboPublishDTO dto) throws Exception;

    DhRes comment(WbReplyDTO wbReplyDTO);

    DhRes getWbC(WeiboPublishDTO dto);
}
